home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / convex.6 < prev    next >
Text File  |  1996-07-16  |  897b  |  31 lines

  1. .TH CONVEX
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. CONVEX
  5.  
  6.  
  7.  
  8.  PolygonType CONVEX( PolygonType Object )
  9.  
  10.  or
  11.  
  12.  ListType CONVEX( ListType Object )
  13.  
  14. Converts non-convex polygons in Object, into convex ones. New vertices
  15. are introduced into the polygonal data during this process. The Boolean
  16. operations require the input to have convex polygons only (although it may
  17. return non convex polygons...) and it automatically converts non-convex input
  18. polygons to convex ones, using this same routine.
  19.  
  20. However, some external tools (like irit2ray and poly3d-h) require convex
  21. polygons. This function must be used on the objects to guarantee that
  22. only convex polygons are saved into data files for these external tools.
  23.  
  24. Example:
  25.  
  26.     CnvxObj = CONVEX( Obj );
  27.     save( "data", CnvxObj );
  28.  
  29. converts non-convex polygons into convex ones, so that the data file can be
  30. used by external tools requiring convex polygons.
  31.